<% @heading = "Agenda" %>

<h1>Dados do <%= @heading %></h1>

<%= link_to image_tag("editar.png")+ " Editar", :action => "editarAgendas", :id => @agenda, :page => @page %>
&nbsp;&nbsp;
<%= link_to image_tag("remover.png")+ " Remover", {:action => "apagarAgendas", :id => @agenda, :page => @page}, :confirm => "Tem certeza?" %>
&nbsp;&nbsp;
<%= link_to image_tag("voltar.png")+ " Voltar para Listagem", :action => "listarAgendas", :page => @page %>

<br><br>

<div id="ver_detalhes">
    <table cellspacing="1">
                <tr>
            <th width="100">Data: </th>
            <td><%= @agenda.data %></td>
        </tr>
                <tr>
            <th width="100">Hora: </th>
            <td><%= @agenda.hora %></td>
        </tr>
                <tr>
            <th width="100">Titulo: </th>
            <td><%= @agenda.titulo %></td>
        </tr>
                <tr>
            <th width="100">Descricao: </th>
            <td><%= @agenda.descricao %></td>
        </tr>
            </table>

</div>